package com.boolib.service;

import com.boolib.bo.ProductBO;
import com.boolib.commons.entity.ServerResponse;
import com.boolib.pojo.ShopProduct;
import com.boolib.service.base.BaseService;

public interface IProductService  extends BaseService<ShopProduct> {


    /**
     * 添加商品
     */
    // TODO: 2019/3/27


    ServerResponse addProduct(ProductBO productBO, String createBy);

    /**
     * @param brandId
     * @return
     */

    ServerResponse selectProductNormalByBrandId(Integer brandId);


    ServerResponse selectProductNormalByCategoryId(Integer categoryId, Integer pageNum, Integer pageSize, boolean sort);


    ServerResponse selectProductNormalById(Integer productId);



    ServerResponse queryProductInfoById(Integer productId);


    ServerResponse checkId(Integer productId);


}
